﻿using System;
using System.Drawing;
using Shell.Demo.Properties;

namespace Shell.Demo.Views
{
    public class DemoViewFactory : IViewFactory
    {
        public Guid Id
        {
            get { return Guid.NewGuid(); }
        }

        public IView Create()
        {
            return new DemoView(){Caption = "Demo view", Id = Id};
        }

        public string MenuCaption
        {
            get { return "Demo view"; }
        }

        public Image NavigationIcon
        {
            get { return Resources.camera; }
        }
    }
}